package com.whmall.service.crm.module.company.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whmall.service.crm.module.company.entity.CompanyUserAddressDO;
import com.whmall.service.crm.module.company.entity.CompanyUserInvoiceDO;
import com.whmall.service.crm.module.company.entity.qo.CompanyUserAddressQO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CompanyUserAddressMapper extends BaseMapper<CompanyUserAddressDO> {
    int deleteById(Long id);

    int insert(CompanyUserAddressDO record);

    int insertSelective(CompanyUserAddressDO record);

    CompanyUserAddressDO selectById(Long id);

    int updateByIdSelective(CompanyUserAddressDO record);

    int updateById(CompanyUserAddressDO record);

    List<CompanyUserAddressDO> listBy(CompanyUserAddressQO qo);

}